/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Core.Ressourcen;

/**
 *
 * @author GRADY
 */
public class RessourcenTicker extends Thread {
    public RessourcenTicker() {
        //setDaemon(true);
    }
    protected int valueRess = 0;
    @Override
    public void run() {
        while(valueRess < 100) {
            System.out.println(valueRess++);
            try {
                Thread.sleep(100);
            }
            catch(InterruptedException e) {
                //nichts
            }
        }
        System.out.println("Fertig");
   }
}
